<template>
  <div>
    count {{ count }}
    <button @click="count++">add</button>
  </div>
</template>

<script setup>
import { onMounted, ref } from 'vue'
const count = ref(1)

onMounted(() => {
  console.log('---- mounted child ----')
})
</script>
